package com.itheima.edu.day22Thread;

public class Demo {
    public static void main(String[] args) {

        Desk desk = new Desk(false,10);


        Fooder fooder = new Fooder(desk);
        Cooker cooker = new Cooker(desk);

        fooder.start();
        cooker.start();
    }
}
